package com.it.myh;

/**
 * @Description: // 类说明，在创建类时要填写
 * @ClassName: Ev_0204_01    // 类名，会自动填充
 * @Author: MYH          // 创建者
 * @Date: 2023/2/4 18:20   // 时间
 * @Version: 1.0     // 版本
 */
public class Ev_0204_01 {
    public static void main(String[] args) {
        String s = "马宇辉";
        byte[] bytes = s.getBytes();
        for (byte aByte : bytes) {
            System.out.print(aByte);
        }
        String s1 = new String(bytes);
        System.out.println(s1);

        String str = "abc";
        StringBuilder stringBuilder = new StringBuilder(str);
        System.out.println(stringBuilder);

        System.out.println("============");
        String s2 = new String(stringBuilder);
        System.out.println(s2);
    }
}
